<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>列表的增删和移动</title>
</head>
<body>
    <form>
        <div class="list">
            <ul class="list-ul">
                <li class="list-option">
                    <input type="text" type="text" name="list[]">
                    <span class="list-btn">
                        <span class="list-up">[上移]</span>
                        <span class="list-down">[下移]</span>
                        <span class="list-del">[删除]</span>
                    </span>
                </li>
            </ul>
        </div>
    </form>
    <script src="SmartList.js"></script>
    <script>
        SmartList('list', ['PHP', 'JavaScript']);
        (function(window){
            var SmartList = function(prefix, defList) {
            };
            window['SmartList'] = SmartList;
        })(window);

        function Find (obj){
            this.obj = obj;
        }
        Find.prototype.prefix = '';
        Find.prototype.className = function(className) {
            return this.obj.getElementsByClassName(this.prefis + '-' + className)[0];
        };
    </script>
    <a href="C:\Users\Administrator\Desktop\DOM\181164331杨澳\第七章.html">返回上一页</a>
</body>
</html>